package com.hoshiibuy.organization.service;

import com.hoshiibuy.organization.entity.ComOrganization;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.organization.entity.ComOrganization;

/**
 * <p>
 * 机构表 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface ComOrganizationService extends IService<ComOrganization> {

    ComOrganization getById(Long id);

    boolean save(ComOrganization entity);

    boolean updateById(ComOrganization entity);

    IPage<ComOrganization> page(IPage<ComOrganization> page, Wrapper<ComOrganization> queryWrapper);
}
